
public class ImageData {
	
	private String imagePath;
	private double[] vector;
	private PairXY xyPair = null;
	
	public ImageData(String imagePath,double[] vector){
		this.setImagePath(imagePath);
		this.vector = vector;
	}
	
	public double[] getVector() {
		return vector;
	}

	public void setVector(double[] vector) {
		this.vector = vector;
	}

	public double getX() {
		return xyPair.getX();
	}

	public double getY() {
		return xyPair.getY();
	}	

	public void setXY(double x,double y) {
		if (xyPair == null)
			xyPair = new PairXY(x, y);
		else
			xyPair.setXY(x, y);
	}

	public PairXY getXY() {
		return xyPair;
	}

	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	
	
}
